package com.TexasHoldem.xSocket.data;



public class CommonConstants {

	public static final String LOGIN_CMD = "c_login";
	
	
	public static final String SERVER_GETTABLELIST = "s_gettablelist";
	public static final String SERVER_LOGINOK = "s_loginok";
	public static final String SERVER_ACTION = "s_action";
	public static final String SERVER_ENTERTABLE = "s_entertable";
	public static final String SERVER_AUTOENTERTABLE = "s_auntoentertable";
	public static final String SERVER_LEAVE = "s_leavetable";
	
	public static final String SERVER_TABLELIST = "sr_tablelist";
	public static final String SERVER_TABLEPLAYERS = "sr_tableplayers";
	public static final String SERVER_RPUKESTART = "sr_pukestart";
	public static final String SERVER_ACTORROTATED = "sr_actorrotated";
	public static final String SERVER_ACTIONUPDATE = "sr_actionupdate";
	public static final String SERVER_ACTIONEDUPDATE = "sr_actionedupdate";
	public static final String SERVER_PLAYERUPDATE = "sr_playerupdate";
	public static final String SERVER_HANDUPDATE = "sr_handupdate";
	public static final String SERVER_PLAYESHOWCARDS = "sr_playershowcards";
	public static final String SERVER_BOARDUPDATE = "sr_boardupdate";
	public static final String SERVER_DEALCOMMUNITYCARDSUPDATE = "sr_dealcommunitycardsupdate";
	public static final String SERVER_OTHERPLAYERENTERTABLE= "sr_otherplayerentertable";
	public static final String SERVER_OTHERPLAYERLEAVETABLE= "sr_otherplayerleavetable";
	public static final String SERVER_MESSAGE = "sr_msg";
	public static final String SERVER_RESET= "sr_reset";
	
	/** Player went all-in. */
    public static final int ALL_IN = 1;

    /** Bet. */
    public static final int BET = 2;
    
    /** Call. */
    public static final int CALL = 3;
    
    /** Check. */
    public static final int CHECK = 4;
    
    /** Continue. */
    public static final int CONTINUE = 5;
    
    /** Fold. */
    public static final int FOLD = 6;
    
    /** Raise. */
    public static final int RAISE = 7;
    
    /** Posting the small blind. */
    public static final int SMALL_BLIND = 8;

    /** Posting the big blind. */
    public static final int BIG_BLIND = 9;
    
    
    public static final int ACTION_FREE = 0;
    
    public static final int ACTION_WAIT = 1;
}
